import request from '@/utils/request'

// 获取实时气象数据
export function getRealTimeWeather(data) {
  return request({
    url: '/system/satellite/weather/realtime',
    method: 'get',
    params: data
  })
}

// 获取灾害预警信息
export function getDisasterAlerts() {
  return request({
    url: '/system/satellite/disaster/alerts',
    method: 'get'
  })
}

// 同步卫星数据
export function syncSatelliteData(data) {
  return request({
    url: '/system/satellite/sync',
    method: 'get',
    params: data
  })
}

// 获取气象统计数据
export function getWeatherStats(data) {
  return request({
    url: '/system/satellite/weather/stats',
    method: 'get',
    params: data
  })
}

// 获取飞行适宜性评估
export function getFlightSuitability(data) {
  return request({
    url: '/system/drone/flight/suitability',
    method: 'get',
    params: data
  })
}
